import yhs from './icon/1.png';
import yzg from './icon/2.png';
import wzg from './icon/3.png';
import zgs from './icon/4.png';

export const DICT = ['user.position', 'area.fireDanger', 'device.outdoor.fire.hydrant.online.type', 'device.valve.status', 'device.run.status', 'device.setup.form'];
export const TOTAL = [
  { key: 'riskNum', name: '隐患数', icon: yhs },
  { key: 'rectifiedNum', name: '已整改', icon: yzg },
  { key: 'unRectifiedNum', name: '未整改', icon: wzg },
  { key: 'rectifiedRate', name: '整改率', icon: zgs, func: 'toPercentage' },
];
